<%-- 
    Document   : buu
    Created on : 25/03/2014, 03:57:22 PM
    Author     : nicardonaa
--%>

<%@page import="java.util.List"%>
<%@page import="com.udistrisisbici.vo.UsuarioVO"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Admin1</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="description" content="Slide Down Box Menu with jQuery and CSS3" />
        <meta name="keywords" content="jquery, css3, sliding, box, menu, cube, navigation, portfolio, thumbnails"/>
        <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
        <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen"/>
        <style>
            body{
                background:#333 url(../img/bg.jpg) repeat top left;
                font-family:Arial;
            }
            h1.title{
                text-indent:-9000px;
                background:transparent url(../img/title.png) no-repeat top left;
                width:633px;
                height:69px;
            }
        </style>
    </head>
    <body>
        <form class="contact_form" action="../BuscarUsu">
        <div class="content">
            <h1 class="title">Slide Down Box Menu with jQuery and CSS3</h1>
        </div>
        <font color="white" size="4" face="Lucida Calligraphy" style="text-align: center;">
        <br>
        <label>Buscar_por_Numero_identificacion:</label>
        <input type="text" style="text-aling:center" name="buscarId" size="40" maxlength="30">
        <button class="submit" type="submit">BUSCAR</button>
        <br>
        <label>Buscar_por_Codigo_Ud:</label>
        <input type="text" style="text-align:center" name="buscarCod" size="40" maxlength="30">
        <br>
        <label>Buscar_por_Nombres:</label>
        <input type="text" style="text-align:center" name="buscarNombres" size="40" maxlength="30">
        <br>
        <label>Buscar_por_Apellidos:</label>
        <input type="text" style="text-align:center" name="buscarApellidos" size="40" maxlength="30">
        <br>
        <br>
        </font>
        <table class="tablesorter">
            <thead> 
                <tr>
                    <th>Numero_id</th>
                    <th>CodigoUd</th>
                    <th>Nombres</th>
                    <th>Apelidos</th>
                    <th>Telefono</th>
                </tr>
            </thead>
            <tbody>
                <%
                    List<UsuarioVO> lista = (List<UsuarioVO>) session.getAttribute("ListaUsu");
                    if(lista!=null){
                    for (int i = 0; i < lista.size(); i++) {
                        out.println("<tr>");
                        out.println("<td>" + lista.get(i).getNumIdentificacion() + "</td>");
                        out.println("<td>" + lista.get(i).getCodigoUD() + "</td>");
                        out.println("<td>" + lista.get(i).getNombres() + "</td>");
                        out.println("<td>" + lista.get(i).getApellidos() + "</td>");
                        out.println("<td>" + lista.get(i).getTelefono() + "</td>");
                        out.println("</tr>");
                    }}
                %>
            </tbody>
        </table>
        </form>
    </body>   
</html>
